A mason jar makes a great candle holder. They have lids to screw on and the wax will be fine.
Soy wax is one of the best waxes to use for survival because it produces no smoke or residue like paraffin wax that is made out of petroleum products.
Bees wax is also great for making candles but it is more expensive.